package com.suli.account.mapper;

import com.suli.account.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suli.account.entity.VO.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author SuLi
 * @since 2022-03-19
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    Integer getTotalUser();
    List<UserVO> getUsers(@Param("page") Long page,@Param("limit") Long limit);
}
